import pinia
from entiys.npc.NPCLoader import NPCLoader
from game.TopClass import Windows


class SlaveManager(Windows):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.savename = pinia.store.get("savename")
        self.slaves = NPCLoader(saveName=self.savename).getByMethod()

    def UiShow(self):
        ...
    def Logic(self):
        ...